﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using System.Reflection;
//using ESRI.ArcGIS.esriSystem;

namespace Shine.Main
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);

                try
                {
                    Application.Run(new MainFramework());
                }
                catch (System.Exception ex)
                {
                   // ZJGIS.ADF.BaseClasses.ControlUtility.ShowWarningMsgbox("系统在运行过程中出现错误，系统将重新启动！"+ex.Message);
                    Application.Run(new MainFramework());
                }
            }
            catch 
            {
            }
        }
    }
}
